package com.zcxy.sys.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zcxy.mybatis.mapper.MyBaseMapper;
import com.zcxy.sys.entity.SysDict;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

/**
 * 字典主表 Mapper接口
 *
 * @author zcc
 * @email 860474958@qq.com
 * @date 2020-06-03
 */
@Repository
public interface SysDictMapper extends MyBaseMapper<SysDict> {

    @Select("select max(code)from sys_dict where del_flag='1'")
    String   selectmaxcode();
 

}
